Release 10.1A: OpenEdge Development:
Progress 4GL Reference
ADD-INDEX-FIELD( ) method
Adds the specified field to the specified index of a temp-table. It requires the named index to be added first.
This method cannot be called after TEMP-TABLE-PREPARE( ) has been called unless CLEAR( ) is called first.
Return type: LOGICAL Applies to: Temp-table object handle
index-name-expA character expression that evaluates to the name of the index to which the field is being added.
field-name-expA character expression that evaluates to the name of the field to add to the index.
mode-expAn expression that evaluates to desc if it is descending or asc if it is ascending. The default is asc.
The following example fragment adds to a temp-table a new unique primary index field with two components, the first ascending, the second descending:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |